import {Direction2D, Vertex2} from "./Direction2D";

let Length2D = (v0: Vertex2, v1: Vertex2):number => {
    let dir = Direction2D(v0, v1);
    return (dir[0] ** 2 + dir[1] ** 2) ** (1 / 2);
};

export {Length2D};